package com.baosight.risk.service.riwa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * Table: T_RIWA_EHR_CONTRACT
 */
@Data
@ApiModel
@Table(name = "T_RIWA_EHR_CONTRACT")
public class RiwaEhrContract extends BaseEntity {

    /**
     * 合同号
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    CONTRACT_NO
     * Nullable:  true
     */
     @ApiModelProperty("合同号")
    @Column(name = "CONTRACT_NO")
    private String contractNo;

    /**
     * 合同名称
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    CONTRACT_NAME
     * Nullable:  true
     */
     @ApiModelProperty("合同名称")
    @Column(name = "CONTRACT_NAME")
    private String contractName;

    /**
     * 扣分值
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    EVAL_SCORE
     * Nullable:  true
     */
     @ApiModelProperty("扣分值")
    @Column(name = "EVAL_SCORE")
    private String evalScore;

    /**
     * 扣分值
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    EVAL_CAUSE
     * Nullable:  true
     */
    @ApiModelProperty("扣分原因")
    @Column(name = "EVAL_CAUSE")
    private String evalCause;

    /**
     * 合同开始时间
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    CONTRACT_START_TIME
     * Nullable:  true
     */
     @ApiModelProperty("合同开始时间")
    @Column(name = "CONTRACT_START_TIME")
    private Date contractStartTime;

    /**
     * 合同结束时间
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    CONTRACT_END_TIME
     * Nullable:  true
     */
     @ApiModelProperty("合同结束时间")
    @Column(name = "CONTRACT_END_TIME")
    private Date contractEndTime;

    /**
     * 单位编码
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    COMP_CODE
     * Nullable:  true
     */
     @ApiModelProperty("单位编码")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 单位名称
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    COMP_NAME
     * Nullable:  true
     */
     @ApiModelProperty("单位名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 期间号
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    PERIOD_NO
     * Nullable:  true
     */
     @ApiModelProperty("期间号")
    @Column(name = "PERIOD_NO")
    private String periodNo;

    /**
     * 备注
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    REMARK
     * Nullable:  true
     */
     @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;


    /**
     * 排序
     *
     * Table:     T_RIWA_EHR_CONTRACT
     * Column:    ROW_ORDER
     * Nullable:  true
     */
     @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private Integer rowOrder;

    private static final long serialVersionUID = 1L;
}